package com.codefish;

import java.util.Collections;

/**
 * 按身高递减排列的学生队伍类
 *
 * @author codefish
 * @version 1.0
 * @date 2022/06/27 下午 10:25
 */
public class DescStudentQueue extends AbstractStudentQueue {

    @Override
    public void sort() {
        Collections.sort(heightList, (h1, h2) -> h2 - h1);
    }
}
